Yes, you may be entitled to compensation. It is important to have a proof (ie. a record
signed by the airline) that the bording was denied against your will even though you
checked in at the gate with a valid boarding pass and travel document, suitably sized
package(s), in proper travel condition at the right time.