you are legally working with with OPT's EAD. It's wrong that your university's lawyer said that you can not apply H1. You can!