Hi Sorry,
study permits are not received at the port of entry.What you receive there is authority to reside temporarily where you are going basing on the duration of your studies.
Study permits are recieved at the embassy of the country you are applying to while you are still in your country.
This depends on the start of classes.The university shall indicate the due date because they have to make arrangments to accomodate you there.
If you reach earlier you may have to organise your own accomodation.3 MONTHS earlier ,you may have an issue with the V.O.
There have been cases where students have been turned back becoz they flew too early.
May you find this helpful.